package br.com.dips.service;

import java.util.List;

import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.inject.Inject;

import br.com.dips.dao.AtribuicaoDAO;
import br.com.dips.enums.Atribuicao;

@Stateless
public class AtribuicaoService {

	@Inject
	private AtribuicaoDAO dao;
	
	@TransactionAttribute(TransactionAttributeType.SUPPORTS)
	public List<Atribuicao> listar() {
		return this.dao.listar();
	}
}
